<?php
/**
 * Created by PhpStorm.
 * User: cz
 * Date: 2017/3/29
 * Time: 9:55
 */
  namespace Home\Model;
  use Think\Model;
  class AdminModel extends Model{
      public function getUserInfo(){
          $User = M("admin");
          $res = $User->where("username='admin'")->select();
          return $res;
      }
  }